package com.extension.company.model.entity;

/**
 * 作者:zwk
 * 联系方式：497981239@qq.com
 * 时间：on 2019/8/26 19:38
 * 功能：订单确认页 地址信息
 */
public class OrderConfirmCarListBean {
	/**
	 * code : 200
	 * msg : 获取成功
	 * time : 1566811823
	 * data : {"code":1,"data":{"order_total_num":1,"order_total_price":92,"order_pay_price":"102.00","exist_address":{"address_id":4,"name":"测试","phone":"12345678912","province_id":1,"city_id":2,"region_id":3,"detail":"详细地址","user_id":5,"isdefault":"1","createtime":1564395114,"updatetime":0,"Area":{"province":"北京","city":"北京市","region":"东城区"}},"express_price":10,"intra_region":true}}
	 */

	private int code;
	private String msg;
	private String time;
	private DataBeanX data;

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public DataBeanX getData() {
		return data;
	}

	public void setData(DataBeanX data) {
		this.data = data;
	}

	public static class DataBeanX {
		/**
		 * code : 1
		 * data : {"order_total_num":1,"order_total_price":92,"order_pay_price":"102.00","exist_address":{"address_id":4,"name":"测试","phone":"12345678912","province_id":1,"city_id":2,"region_id":3,"detail":"详细地址","user_id":5,"isdefault":"1","createtime":1564395114,"updatetime":0,"Area":{"province":"北京","city":"北京市","region":"东城区"}},"express_price":10,"intra_region":true}
		 */

		private int code;
		private DataBean data;

		public int getCode() {
			return code;
		}

		public void setCode(int code) {
			this.code = code;
		}

		public DataBean getData() {
			return data;
		}

		public void setData(DataBean data) {
			this.data = data;
		}

		public static class DataBean {
			/**
			 * order_total_num : 1
			 * order_total_price : 92
			 * order_pay_price : 102.00
			 * exist_address : {"address_id":4,"name":"测试","phone":"12345678912","province_id":1,"city_id":2,"region_id":3,"detail":"详细地址","user_id":5,"isdefault":"1","createtime":1564395114,"updatetime":0,"Area":{"province":"北京","city":"北京市","region":"东城区"}}
			 * express_price : 10
			 * intra_region : true
			 */

			private int order_total_num;
			private int order_total_price;
			private String order_pay_price;
			private ExistAddressBean exist_address;
			private int express_price;
			private boolean intra_region;

			public int getOrder_total_num() {
				return order_total_num;
			}

			public void setOrder_total_num(int order_total_num) {
				this.order_total_num = order_total_num;
			}

			public int getOrder_total_price() {
				return order_total_price;
			}

			public void setOrder_total_price(int order_total_price) {
				this.order_total_price = order_total_price;
			}

			public String getOrder_pay_price() {
				return order_pay_price;
			}

			public void setOrder_pay_price(String order_pay_price) {
				this.order_pay_price = order_pay_price;
			}

			public ExistAddressBean getExist_address() {
				return exist_address;
			}

			public void setExist_address(ExistAddressBean exist_address) {
				this.exist_address = exist_address;
			}

			public int getExpress_price() {
				return express_price;
			}

			public void setExpress_price(int express_price) {
				this.express_price = express_price;
			}

			public boolean isIntra_region() {
				return intra_region;
			}

			public void setIntra_region(boolean intra_region) {
				this.intra_region = intra_region;
			}

			public static class ExistAddressBean {
				/**
				 * address_id : 4
				 * name : 测试
				 * phone : 12345678912
				 * province_id : 1
				 * city_id : 2
				 * region_id : 3
				 * detail : 详细地址
				 * user_id : 5
				 * isdefault : 1
				 * createtime : 1564395114
				 * updatetime : 0
				 * Area : {"province":"北京","city":"北京市","region":"东城区"}
				 */

				private int address_id;
				private String name;
				private String phone;
				private int province_id;
				private int city_id;
				private int region_id;
				private String detail;
				private int user_id;
				private String isdefault;
				private int createtime;
				private int updatetime;
				private AreaBean Area;

				public int getAddress_id() {
					return address_id;
				}

				public void setAddress_id(int address_id) {
					this.address_id = address_id;
				}

				public String getName() {
					return name;
				}

				public void setName(String name) {
					this.name = name;
				}

				public String getPhone() {
					return phone;
				}

				public void setPhone(String phone) {
					this.phone = phone;
				}

				public int getProvince_id() {
					return province_id;
				}

				public void setProvince_id(int province_id) {
					this.province_id = province_id;
				}

				public int getCity_id() {
					return city_id;
				}

				public void setCity_id(int city_id) {
					this.city_id = city_id;
				}

				public int getRegion_id() {
					return region_id;
				}

				public void setRegion_id(int region_id) {
					this.region_id = region_id;
				}

				public String getDetail() {
					return detail;
				}

				public void setDetail(String detail) {
					this.detail = detail;
				}

				public int getUser_id() {
					return user_id;
				}

				public void setUser_id(int user_id) {
					this.user_id = user_id;
				}

				public String getIsdefault() {
					return isdefault;
				}

				public void setIsdefault(String isdefault) {
					this.isdefault = isdefault;
				}

				public int getCreatetime() {
					return createtime;
				}

				public void setCreatetime(int createtime) {
					this.createtime = createtime;
				}

				public int getUpdatetime() {
					return updatetime;
				}

				public void setUpdatetime(int updatetime) {
					this.updatetime = updatetime;
				}

				public AreaBean getArea() {
					return Area;
				}

				public void setArea(AreaBean Area) {
					this.Area = Area;
				}

				public static class AreaBean {
					/**
					 * province : 北京
					 * city : 北京市
					 * region : 东城区
					 */

					private String province;
					private String city;
					private String region;

					public String getProvince() {
						return province;
					}

					public void setProvince(String province) {
						this.province = province;
					}

					public String getCity() {
						return city;
					}

					public void setCity(String city) {
						this.city = city;
					}

					public String getRegion() {
						return region;
					}

					public void setRegion(String region) {
						this.region = region;
					}
				}
			}
		}
	}
}
